package com.djhu.hadoop;
/**
 * Created by zw on 2017/12/14.
 */

/**
 * code is far away from bug with the animal protecting
 * ┏┓　　　┏┓
 * ┏┛┻━━━┛┻┓
 * ┃　　　　　　　┃
 * ┃　　　━　　　┃
 * ┃　┳┛　┗┳　┃
 * ┃　　　　　　　┃
 * ┃　　　┻　　　┃
 * ┃　　　　　　　┃
 * ┗━┓　　　┏━┛
 * 　　┃　　　┃神兽保佑
 * 　　┃　　　┃代码无BUG！
 * 　　┃　　　┗━━━┓
 * 　　┃　　　　　　　┣┓
 * 　　┃　　　　　　　┏┛
 * 　　┗┓┓┏━┳┓┏┛
 * 　　　┃┫┫　┃┫┫
 * 　　　┗┻┛　┗┻┛
 *
 * <p>
 * ---------------------------------
 */
public class BasicFileInfo {
    private String localFile;
    private String remoteFile;
    private long start;
    private long length;
    private long rownum;

    public BasicFileInfo() {
    }

    public BasicFileInfo(String remoteFile, long start, long length) {
        this.remoteFile = remoteFile;
        this.start = start;
        this.length = length;
    }

    private BasicFileInfo(BasicFileInfo basicFileInfo) {

    }

//    public static BasicFileInfo cloneOne(){
//        return new BasicFileInfo(this);
//    }

    public String getLocalFile() {
        return localFile;
    }

    public void setLocalFile(String localFile) {
        this.localFile = localFile;
    }

    public String getRemoteFile() {
        return remoteFile;
    }

    public void setRemoteFile(String remoteFile) {
        this.remoteFile = remoteFile;
    }

    public long getStart() {
        return start;
    }

    public void setStart(long start) {
        this.start = start;
    }

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    public long getRownum() {
        return rownum;
    }

    public void setRownum(long rownum) {
        this.rownum = rownum;
    }

    @Override
    public String toString() {
        return "BasicFileInfo{" +
                "localFile='" + localFile + '\'' +
                ", remoteFile='" + remoteFile + '\'' +
                ", start=" + start +
                ", length=" + length +
                ", rownum=" + rownum +
                '}';
    }
}